//
//  LSPublishSectionReusableView.m
//  LookScore
//
//  Created by wws on 2018/5/8.
//  Copyright © 2018年 ChongQingXunTiCompany. All rights reserved.
//

#import "LSPublishSectionReusableView.h"

@implementation LSPublishSectionReusableView

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"date"]];
        [self addSubview:imageView];
        imageView.sd_layout
        .leftSpaceToView(self, 10)
        .centerYEqualToView(self)
        .widthIs(16)
        .heightIs(18);
    
        
        self.titleLabel = [[UILabel alloc] init];
        self.titleLabel.font = LSFontSize14;
        self.titleLabel.textColor = Color(22,125,204);
        self.titleLabel.text = @"";
        [self addSubview:self.titleLabel];
        self.titleLabel.sd_layout
        .leftSpaceToView(imageView, 2)
        .centerYEqualToView(self)
        .autoHeightRatio(0);
        [self.titleLabel setSingleLineAutoResizeWithMaxWidth:180];
        
    }
    return self;
}

@end
